Optimal. Leaf size=34 \[ -\frac{2 \sqrt{a^2 x^2+1} \sinh ^{-1}(a x)}{a}+x \sinh ^{-1}(a x)^2+2 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0451432, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {5653, 5717, 8} \[ -\frac{2 \sqrt{a^2 x^2+1} \sinh ^{-1}(a x)}{a}+x \sinh ^{-1}(a x)^2+2 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5653
Rule 5717
Rule 8
Rubi steps
\begin{align*} \int \sinh ^{-1}(a x)^2 \, dx &=x \sinh ^{-1}(a x)^2-(2 a) \int \frac{x \sinh ^{-1}(a x)}{\sqrt{1+a^2 x^2}} \, dx\\ &=-\frac{2 \sqrt{1+a^2 x^2} \sinh ^{-1}(a x)}{a}+x \sinh ^{-1}(a x)^2+2 \int 1 \, dx\\ &=2 x-\frac{2 \sqrt{1+a^2 x^2} \sinh ^{-1}(a x)}{a}+x \sinh ^{-1}(a x)^2\\ \end{align*}
Mathematica [A] time = 0.0135055, size = 34, normalized size = 1. \[ -\frac{2 \sqrt{a^2 x^2+1} \sinh ^{-1}(a x)}{a}+x \sinh ^{-1}(a x)^2+2 x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.023, size = 36, normalized size = 1.1 \begin{align*}{\frac{1}{a} \left ( \left ({\it Arcsinh} \left ( ax \right ) \right ) ^{2}ax-2\,{\it Arcsinh} \left ( ax \right ) \sqrt{{a}^{2}{x}^{2}+1}+2\,ax \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.18164, size = 43, normalized size = 1.26 \begin{align*} x \operatorname{arsinh}\left (a x\right )^{2} + 2 \, x - \frac{2 \, \sqrt{a^{2} x^{2} + 1} \operatorname{arsinh}\left (a x\right )}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.10122, size = 134, normalized size = 3.94 \begin{align*} \frac{a x \log \left (a x + \sqrt{a^{2} x^{2} + 1}\right )^{2} + 2 \, a x - 2 \, \sqrt{a^{2} x^{2} + 1} \log \left (a x + \sqrt{a^{2} x^{2} + 1}\right )}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.218243, size = 32, normalized size = 0.94 \begin{align*} \begin{cases} x \operatorname{asinh}^{2}{\left (a x \right )} + 2 x - \frac{2 \sqrt{a^{2} x^{2} + 1} \operatorname{asinh}{\left (a x \right )}}{a} & \text{for}\: a \neq 0 \\0 & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.45534, size = 84, normalized size = 2.47 \begin{align*} x \log \left (a x + \sqrt{a^{2} x^{2} + 1}\right )^{2} + 2 \, a{\left (\frac{x}{a} - \frac{\sqrt{a^{2} x^{2} + 1} \log \left (a x + \sqrt{a^{2} x^{2} + 1}\right )}{a^{2}}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]